package com.ruoyi.user.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 user
 * 
 * @author gu
 * @date 2025-05-21
 */
public class User extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String password;

    /** 用户手机号，可不绑定 */
    @Excel(name = "用户手机号，可不绑定")
    private String phone;

    /** 头像，得有默认值 */
    @Excel(name = "头像，得有默认值")
    private String userImage;

    /** 用户起始体重 */
    @Excel(name = "用户起始体重")
    private Long createWeight;

    /** 用户目标体重 */
    @Excel(name = "用户目标体重")
    private Long goalWeight;

    /** 用户最新体重 */
    @Excel(name = "用户最新体重")
    private Long newWeight;

    /** 身高
 */
    @Excel(name = "身高 ")
    private Long height;

    /** BMI值 */
    @Excel(name = "BMI值")
    private Long bmi;

    /** 获赞总数 */
    @Excel(name = "获赞总数")
    private Long supportCount;

    /** 关注总数 */
    @Excel(name = "关注总数")
    private Long friendCount;

    /** 发帖数 */
    @Excel(name = "发帖数")
    private Long postCount;

    /** 累计签到 */
    @Excel(name = "累计签到")
    private Long signDay;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }

    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setUserImage(String userImage) 
    {
        this.userImage = userImage;
    }

    public String getUserImage() 
    {
        return userImage;
    }

    public void setCreateWeight(Long createWeight) 
    {
        this.createWeight = createWeight;
    }

    public Long getCreateWeight() 
    {
        return createWeight;
    }

    public void setGoalWeight(Long goalWeight) 
    {
        this.goalWeight = goalWeight;
    }

    public Long getGoalWeight() 
    {
        return goalWeight;
    }

    public void setNewWeight(Long newWeight) 
    {
        this.newWeight = newWeight;
    }

    public Long getNewWeight() 
    {
        return newWeight;
    }

    public void setHeight(Long height) 
    {
        this.height = height;
    }

    public Long getHeight() 
    {
        return height;
    }

    public void setBmi(Long bmi) 
    {
        this.bmi = bmi;
    }

    public Long getBmi() 
    {
        return bmi;
    }

    public void setSupportCount(Long supportCount) 
    {
        this.supportCount = supportCount;
    }

    public Long getSupportCount() 
    {
        return supportCount;
    }

    public void setFriendCount(Long friendCount) 
    {
        this.friendCount = friendCount;
    }

    public Long getFriendCount() 
    {
        return friendCount;
    }

    public void setPostCount(Long postCount) 
    {
        this.postCount = postCount;
    }

    public Long getPostCount() 
    {
        return postCount;
    }

    public void setSignDay(Long signDay) 
    {
        this.signDay = signDay;
    }

    public Long getSignDay() 
    {
        return signDay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nickName", getNickName())
            .append("password", getPassword())
            .append("phone", getPhone())
            .append("userImage", getUserImage())
            .append("createWeight", getCreateWeight())
            .append("goalWeight", getGoalWeight())
            .append("newWeight", getNewWeight())
            .append("height", getHeight())
            .append("bmi", getBmi())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("supportCount", getSupportCount())
            .append("friendCount", getFriendCount())
            .append("postCount", getPostCount())
            .append("signDay", getSignDay())
            .toString();
    }
}
